import React, { Component } from 'react'
import RouterView from '../router/routerView.jsx'
import RouterLink from '../router/routerLink.jsx'

export class Home extends Component {
  render() {
    const {routerConfig} = this.props
    return (
      <div>
        <header></header>
        <main><RouterView routerConfig={routerConfig}></RouterView></main>
        <footer><RouterLink routerConfig={routerConfig}></RouterLink></footer>
      </div>
    )
  }
}

export default Home